Additional Topics > Medical Imaging in IDL > IDL DICOM Reference > DICOMEX_GETCONFIGFILEPATH

DICOMEX_GETCONFIGFILEPATH

The DICOMEX_GETCONFIGFILEPATH function returns the location of the local or system configuration file associated with Application Entities defined in the DICOM Network Services utility. See Local Versus System Configuration for information on this distinction.

Note: This function will fail if you have not installed and licensed IDL’s DICOM Network Services, which provides access to the DICOM Network Services utility. Use the DICOMEX_NET routine to start this utility.

Syntax

Result = DICOMEX_GETCONFIGFILEPATH([, /SYSTEM])

Return Value

Returns the location of the local or system configuration file, as specified using the SYSTEM keyword.

Keywords

SYSTEM

Set this keyword to return the full path of the system configuration file. The path of the local configuration file is returned if this keyword is not set.

Examples

Return the path to the local configuration file:

LocalFile = DICOMEX_GETCONFIGFILEPATH()

Return the path to the system configuration file:

SystemFile = DICOMEX_GETCONFIGFILEPATH(/SYSTEM)

Version History

6.2

Introduced